'use strict'
// 配置webstorm识别webpack别名
const path = require('path')

function resolve(dir) {
  return path.join(__dirname, '.', dir)
}

module.exports = {
  context: path.resolve(__dirname, '.'),
  resolve: {
    extensions: ['.js', '.vue', '.json'],
    alias: {
      '@': resolve('src'),
      $ui: resolve('node_modules/@xdh/my/ui/lib'),
      $my: resolve('.my')
    }
  }
}
